package com.example.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@javax.persistence.Entity
@Table(name="tb_menu")
@Inheritance(strategy=InheritanceType.JOINED)
public class MenuNode extends TreeNode<MenuNode> implements Serializable{
	private static final long serialVersionUID = 3862416351900991824L;
	
	@Column(name = "Desc")
	private String Desc;
}
